const app = require('./app')
const { SERVER_HOST, SERVER_PORT } = require('./app/config')

// 引用该文件，让 database 的代码执行
require('./app/database')

app.listen(SERVER_PORT, () => {
  console.log(`服装商城系统服务器启动成功，服务地址为：${SERVER_HOST}:${SERVER_PORT}`);
})
